package adv6;

import java.text.SimpleDateFormat;

public class DateTest {

	public static void main(String[] args) {
		SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		String str = df.format(System.currentTimeMillis());
		System.out.println(str);
	}
}
